# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=blackarch-config-vim
pkgver=3.620775f
pkgrel=1
epoch=1
pkgdesc='BlackArch config for the VIM editor.'
arch=('any')
groups=('blackarch-config')
url='https://github.com/BlackArch/blackarch-config-vim'
license=('custom:unknown')
depends=('vim' 'ctags')
makedepends=('git')
source=('git+https://github.com/BlackArch/blackarch-config-vim.git')
install="$pkgname.install"
sha512sums=('SKIP')

pkgver() {
  cd $pkgname

  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
  cd $pkgname

  install -dm 755 "$pkgdir/usr/share/blackarch/config/vim"

  cp -a vimrc vim "$pkgdir/usr/share/blackarch/config/vim/"
}

